17.04.2005, 07:36:53
Guest's idea is wrong.
The game gets the CellSpread value, e.g. 6.
So it loads the 6th entry out of the valuetable by multiplying the value 6 with 4 (each value is a dword = 4 bytes) and adding the base address of the table.
So 0 wouldn't cause any problems.
What's funny is, that CellSpread is a float value.
I dunno what happens if CellSpread=2.5 or 0.5.
The game gets the CellSpread value, e.g. 6.
So it loads the 6th entry out of the valuetable by multiplying the value 6 with 4 (each value is a dword = 4 bytes) and adding the base address of the table.
So 0 wouldn't cause any problems.
What's funny is, that CellSpread is a float value.
I dunno what happens if CellSpread=2.5 or 0.5.