aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/surface.cpp
diff options
context:
space:
mode:
authorVladimir Menshakov2009-09-15 20:21:18 +0000
committerVladimir Menshakov2009-09-15 20:21:18 +0000
commit6db034a1db90ed2423a4cb6cc7a7ae5d87673e77 (patch)
tree580f739bc56fb8b0ec471b9dbe95cdb432fda012 /engines/teenagent/surface.cpp
parent76ea1fbb6493cdefcb7bdc2bf1112fc7cff6f108 (diff)
downloadscummvm-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.cpp4
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;