From 5bad1a7c7fc14caaa8af7d51addc70c94804e435 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Tue, 6 Sep 2011 00:43:40 +0200 Subject: CGE: Take into account some of LordHoto's comments --- engines/cge/snail.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/cge/snail.cpp') diff --git a/engines/cge/snail.cpp b/engines/cge/snail.cpp index 2d15b61d97..b1fc7629b0 100644 --- a/engines/cge/snail.cpp +++ b/engines/cge/snail.cpp @@ -399,7 +399,7 @@ const char *Snail::_comText[] = { Snail::Snail(CGEEngine *vm, bool turbo) : _turbo(turbo), _busy(false), _textDelay(false), _timerExpiry(0), _talkEnable(true), - _head(0), _tail(0), _snList((Com *) malloc(sizeof(Com) * 256)), _vm(vm) { + _head(0), _tail(0), _snList((Com *)malloc(sizeof(Com) * 256)), _vm(vm) { } Snail::~Snail() { @@ -863,7 +863,7 @@ void CGEEngine::snFlash(bool on) { debugC(1, kCGEDebugEngine, "CGEEngine::snFlash(%s)", on ? "true" : "false"); if (on) { - Dac *pal = (Dac *) malloc(sizeof(Dac) * kPalCount); + Dac *pal = (Dac *)malloc(sizeof(Dac) * kPalCount); if (pal) { memcpy(pal, _vga->_sysPal, kPalSize); for (int i = 0; i < kPalCount; i++) { -- cgit v1.2.3