------------------------------------------------------------------------
r4256 | acceptthis | 2013-03-12 21:07:07 +0000 (Tue, 12 Mar 2013) | 5 lines Don't mess up/crash when the snap command is used (in multiple ways). Misc NQ+csqc compat tweaks/hacks/fixes. Added pointsound. Don't rely upon fragmentation support with downloads. its a bad idea. Fixed up the text editor to be able to debug properly again. ------------------------------------------------------------------------ git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4252 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
dd68115e58
commit
c1a80e5ba8
31 changed files with 383 additions and 180 deletions
|
@ -2890,10 +2890,13 @@ void QCBUILTIN PF_terrain_edit(pubprogfuncs_t *prinst, struct globalvars_s *pr_g
|
|||
switch(action)
|
||||
{
|
||||
case ter_reload:
|
||||
G_FLOAT(OFS_RETURN) = 1;
|
||||
Terr_PurgeTerrainModel(mod, false, true);
|
||||
break;
|
||||
case ter_save:
|
||||
Con_Printf("%i sections saved\n", Heightmap_Save(hm));
|
||||
quant = Heightmap_Save(hm);
|
||||
Con_DPrintf("ter_save: %g sections saved\n", quant);
|
||||
G_FLOAT(OFS_RETURN) = quant;
|
||||
break;
|
||||
case ter_sethole:
|
||||
/* {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue