Fix Camera borders in Ocean room.

This commit is contained in:
Robbie Antenesse 2016-04-05 18:05:08 -06:00
parent 8a5377699e
commit b0fe830343
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ rm_Ocean.DoFirst = function () {
G.oceanParticle.x = G.player.x + randomSmidge();
G.oceanParticle.y = G.player.y + randomSmidge();
OS.camera.Follow(G.player);
OS.S.SetCamera(64 * OS.S.pixelScale, 64 * OS.S.pixelScale, G.player, 24 * OS.S.pixelScale, 24 * OS.S.pixelScale);
}
rm_Ocean.Do = function () {
// Move G.oceanParticle around based on player's movement.