2025-09-02 12:31 CEST

spring: develop 882f79ee Diff ] Back to Repository ]
Author Committer Branch Timestamp Parent
jK jK develop 2011-07-13 06:45:47 develop fde84020
Changeset fix bug in CMoveMath::IsBlocked()
It returned 1 for impassable terrain, but 1==BLOCK_MOVING which indicates that the square is _currently_ blocked and will be passable soon.
That is obviously not the case, so I added a new BLOCK_ type: BLOCK_IMPASSABLE.
mod - rts/Sim/MoveTypes/MoveMath/MoveMath.cpp Diff ] File ]
mod - rts/Sim/MoveTypes/MoveMath/MoveMath.h Diff ] File ]