mirror of
https://github.com/halpz/re3.git
synced 2025-06-26 22:06:22 +00:00
small glass fix
This commit is contained in:
@ -668,7 +668,7 @@ CGlass::WindowRespondsToCollision(CEntity *entity, float amount, CVector speed,
|
||||
|
||||
object->bGlassBroken = true;
|
||||
object->bIsVisible = false;
|
||||
object->bUsesCollision = true;
|
||||
object->bUsesCollision = false;
|
||||
}
|
||||
|
||||
void
|
||||
@ -868,11 +868,11 @@ CGlass::HasGlassBeenShatteredAtCoors(float x, float y, float z)
|
||||
|
||||
CWorld::AdvanceCurrentScanCode();
|
||||
|
||||
for ( int32 y = nStartY; y <= nEndY; y++ )
|
||||
for ( int32 ys = nStartY; ys <= nEndY; ys++ )
|
||||
{
|
||||
for ( int32 x = nStartX; x <= nEndX; x++ )
|
||||
for ( int32 xs = nStartX; xs <= nEndX; xs++ )
|
||||
{
|
||||
CSector *sector = CWorld::GetSector(x, y);
|
||||
CSector *sector = CWorld::GetSector(xs, ys);
|
||||
|
||||
ASSERT(sector != nil);
|
||||
|
||||
|
2
vendor/librw
vendored
2
vendor/librw
vendored
Submodule vendor/librw updated: ee2a32e142...5e5a624681
2
vendor/opusfile
vendored
2
vendor/opusfile
vendored
Submodule vendor/opusfile updated: f94a1764b0...4174c26e0a
Reference in New Issue
Block a user