SCUMM: Unneeded pointer dereference
|Reported by:||salty-horse||Owned by:||fingolfin|
engines/scumm/gfx.cpp has this statement:
Since the increment (++) takes precedence over the pointer dereference (*), the dereference is pointless (pun not intended).
It's probably a copy-paste from the lines around it, which do make use of the dereference.
The attached patch removes the * from the offending lines.
I didn't test it.
Ticket imported from: #2973283. Ticket imported from: patches/1255.