diff options
author | Vladimir Menshakov | 2009-09-15 20:21:18 +0000 |
---|---|---|
committer | Vladimir Menshakov | 2009-09-15 20:21:18 +0000 |
commit | 6db034a1db90ed2423a4cb6cc7a7ae5d87673e77 (patch) | |
tree | 580f739bc56fb8b0ec471b9dbe95cdb432fda012 /engines/teenagent/surface.cpp | |
parent | 76ea1fbb6493cdefcb7bdc2bf1112fc7cff6f108 (diff) | |
download | scummvm-rg350-6db034a1db90ed2423a4cb6cc7a7ae5d87673e77.tar.gz scummvm-rg350-6db034a1db90ed2423a4cb6cc7a7ae5d87673e77.tar.bz2 scummvm-rg350-6db034a1db90ed2423a4cb6cc7a7ae5d87673e77.zip |
renamed constants to comply with the code convention.
svn-id: r44109
Diffstat (limited to 'engines/teenagent/surface.cpp')
-rw-r--r-- | engines/teenagent/surface.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/teenagent/surface.cpp b/engines/teenagent/surface.cpp index 62bc033a20..47e1db300c 100644 --- a/engines/teenagent/surface.cpp +++ b/engines/teenagent/surface.cpp @@ -40,7 +40,7 @@ void Surface::load(Common::SeekableReadStream *stream, Type type) { x = y = 0; memset(flags, 0, sizeof(flags)); - if (type == TypeOn) { + if (type == kTypeOn) { byte fn = stream->readByte(); if (stream->eos()) return; @@ -54,7 +54,7 @@ void Surface::load(Common::SeekableReadStream *stream, Type type) { uint16 w_ = stream->readUint16LE(); uint16 h_ = stream->readUint16LE(); - if (type != TypeLan) { + if (type != kTypeLan) { uint16 pos = stream->readUint16LE(); x = pos % 320; y = pos / 320; |