File diff r23537:f6a6d4ce4bd5 → r23538:8df50944b27a
src/texteff.cpp
Show inline comments
 
@@ -34,13 +34,13 @@ struct TextEffect : public ViewportSign 
 
		this->MarkDirty();
 
		this->width_normal = 0;
 
		this->string_id = INVALID_STRING_ID;
 
	}
 
};
 

	
 
static SmallVector<struct TextEffect, 32> _text_effects; ///< Text effects are stored there
 
static std::vector<struct TextEffect> _text_effects; ///< Text effects are stored there
 

	
 
/* Text Effects */
 
TextEffectID AddTextEffect(StringID msg, int center, int y, uint8 duration, TextEffectMode mode)
 
{
 
	if (_game_mode == GM_MENU) return INVALID_TE_ID;