ASYLUM: Fix warning introduced by r442.

git-svn-id: http://asylumengine.googlecode.com/svn/trunk@443 0bfb4aae-4ea4-11de-8d8d-752d95cf3e3c
This commit is contained in:
Joseph Davies 2010-04-18 06:20:10 +00:00 committed by Eugene Sandulenko
parent 6a94eee3c2
commit c31a0d39c8
No known key found for this signature in database
GPG key ID: 014D387312D34F08

View file

@ -275,7 +275,7 @@ void Scene::updateActorDirection(int actorIndex, int param) {
// active (via the global at .data:00543504)
// FIXME skipping for now
if (0) {
if (vm()->_rnd.getRandomNumber(-2) == 1 && defaultActorDirectionLoaded(actorIndex, 15)) {
if (vm()->_rnd.getRandomBit() == 1 && defaultActorDirectionLoaded(actorIndex, 15)) {
actor->frameNum = 0;
if (actor->direction > 4)
actor->direction = 8 - actor->direction;